<?#//v.3.1.1
#///////////////////////////////////////////////////////
#//  COPYRIGHT 2004 Phpauction.org ALL RIGHTS RESERVED//
#///////////////////////////////////////////////////////

require('../includes/config.inc.php');
include "loggedin.inc.php";

#// REtrieve template from the database
$query = "SELECT code FROM PHPAUCTIONXL_aboutmetemplates WHERE id=$_GET[id]";
$res = mysql_query($query);
if(!$res)
{
	print "$query<BR>".mysql_error();
	exit;
}
elseif(mysql_num_rows($res) > 0)
{
	print stripslashes(mysql_result($res,0,"code"));
}
else
{
	print "Unable to retrieve template.";
}
?>
